package com.myhome.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.myhome.entity.Menu;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-09-04
 */
public interface MenuMapper extends BaseMapper<Menu> {

    public List<Menu> getMenuByUserId(Integer id);

    public List<Menu> getMenusWithRoles();

    List<Menu> getAllMenus();
}
